<?php
namespace Admin\Controller;
use Think\Controller;
class BaseController extends Controller {
	
	public function _initialize(){
//		$this->checkLogin();
	}
	
    public function checkLogin(){
		if( ! ($mSession=I('session.admin',0)) ){
			$this->error('请先登录',U('Login/login'),1 );
		}else{
			$this->manager = $mSession;
		}
    }
}